package edu.cs3240.nfa;

import java.util.ArrayList;
import java.util.List;

public class State {
	
	private ArrayList<Transition> transitions;
	
	public State()
	{
		transitions = new ArrayList<Transition>(); 
	}
	
	
	public void addTransition(Transition transition)
	{
		transitions.add(transition);
	}
	
	public List<Transition> getTransitions()
	{
		return transitions;
	}	
	
	/*@Override 
	public String toString()
	{
		StringBuffer sb = new StringBuffer();
		sb.append("O--");
		
		int depth = 1;
		
		for(Transition t : start.getTransitions())
		{				
			sb.append("O-- ");
			sb.append(t.toString());
			sb.append(" -->");
			sb.append("\n\t");
		}
		
		return sb.toString();
	}*/

}
